body {
  height: 100vh;
  width: 100vw;
  background-color: #000000;
  position: relative;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: rgba(0, 255, 21, 0.7);
}
.tui {
  position: absolute;
  top: 110px;
  margin: 0 auto;
  right: 0;
  left: 0;
  width: 30px;
  height: 30px;
  background: url("../imgs/退.png") center center no-repeat;
  background-size: 30px auto;
  display: none;
}
.w {
  position: absolute;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 80%;
  max-width: 1000px;
  background-color: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(0, 255, 21, 0.6);
  border-radius: 20px;
  margin: 0 auto;
  top: 150px;
  left: 0;
  right: 0;
  z-index: 99;
  display: none;
  padding: 20px;
}
.w div {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  transition: 0.6s;
  margin: 5px;
  border: 1px solid rgba(0, 255, 21, 0.3);
}
.w div p {
  position: absolute;
  height: 16px;
  font-size: 12px;
  width: 200%;
  top: 0px;
  color: rgba(0, 255, 21, 0.7);
  opacity: 0;
  text-align: center;
  transition: 1s;
}
.w div a {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  font-size: 12px;
  color: rgba(0, 255, 21, 0.7);
  padding: 0 5px;
  transition: 0.8s;
}
.w div a:hover {
  transform: scale(1.2);
}
.w div:hover {
  transform: scale(1.1);
}
canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -99;
}
.nav {
  position: absolute;
  left: 0;
  right: 0;
  display: inline-block;
  max-width: 1500px;
  width: 100%;
  height: 50px;
  margin: 0 auto;
  color: rgba(0, 255, 21, 0.7);
}
.nav .center {
  position: absolute;
  width: 200px;
  top: 22px;
  left: 20%;
}
.nav .center .text {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 130%;
  opacity: 0;
  padding-left: 6px;
  transition: 0.3s;
}
.nav .center input {
  outline: none;
  width: 25px;
  height: 25px;
  background-color: rgba(255, 255, 255, 0);
  color: rgba(0, 255, 21, 0.5);
  border: 1px solid rgba(0, 255, 21, 0.7);
  box-shadow: 0 0 2px 1px rgba(255, 255, 255, 0.367);
  border-radius: 13px;
  padding-left: 5px;
  transition: 0.5s;
}
.nav .center input::-webkit-input-placeholder {
  font-size: 12px;
  color: rgba(0, 255, 21, 0.5);
}
.nav .right {
  position: absolute;
  top: 20px;
  right: 3%;
}
.nav .right li {
  float: left;
  margin-right: 20px;
  cursor: pointer;
  list-style: none;
  transition: 0.6s;
}
.nav .right li:hover {
  transform: scale(1.2);
}
.nav .logo {
  position: absolute;
  left: 3%;
  top: 20px;
  width: 100px;
  height: 30px;
  background: url("../imgs/logo.png") -8px -12px no-repeat;
  background-size: 300px auto;
}
@keyframes diamond-in-center {
  from {
    clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  }
  to {
    clip-path: polygon(-50% 50%, 50% -50%, 150% 50%, 50% 150%);
  }
}
@keyframes diamond-out-center {
  from {
    clip-path: polygon(-50% 50%, 50% -50%, 150% 50%, 50% 150%);
  }
  to {
    clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  }
}
@keyframes tui {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-20%);
  }
  60% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-1000%);
  }
}
@keyframes jin {
  0% {
    transform: translateY(-1000%);
  }
  30% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(-20%);
  }
  100% {
    transform: translateY(0);
  }
}
